import { IsNotEmpty,IsString } from "class-validator";
export class CreateDictTypeDto {
    @IsNotEmpty({message:'字典类型名称不能为空'})
    @IsString({message:'字典类型名称必须为字符串'})
    dict_name: string;

    @IsNotEmpty({message:'字典类型不能为空'})
    @IsString({message:'字典类型必须为字符串'})
    dict_type: string;

    create_by: string;
}
